package com.google.shop.product.vo.order;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Arrays;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/order/ShopOrderVO.class */
public class ShopOrderVO implements Serializable {
    private Integer id;
    private String orderId;
    @JsonProperty("payStatus")
    private Integer orderStatus;
    private String createTime;
    @JsonProperty("spuName")
    private String skuTitle;
    @JsonProperty("price")
    private String skuPrice;
    @JsonProperty("skuTag")
    private String[] skuSaleAttrValues;
    @JsonProperty("num")
    private Integer skuNum;
    private Integer freight;
    @JsonProperty("amount")
    private BigDecimal skuAmount;
    @JsonProperty("icon")
    private String skuImage;
    private Integer buyerId;
    private Integer addressId;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @JsonProperty("payStatus")
    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @JsonProperty("spuName")
    public void setSkuTitle(String skuTitle) {
        this.skuTitle = skuTitle;
    }

    @JsonProperty("price")
    public void setSkuPrice(String skuPrice) {
        this.skuPrice = skuPrice;
    }

    @JsonProperty("skuTag")
    public void setSkuSaleAttrValues(String[] skuSaleAttrValues) {
        this.skuSaleAttrValues = skuSaleAttrValues;
    }

    @JsonProperty("num")
    public void setSkuNum(Integer skuNum) {
        this.skuNum = skuNum;
    }

    public void setFreight(Integer freight) {
        this.freight = freight;
    }

    @JsonProperty("amount")
    public void setSkuAmount(BigDecimal skuAmount) {
        this.skuAmount = skuAmount;
    }

    @JsonProperty("icon")
    public void setSkuImage(String skuImage) {
        this.skuImage = skuImage;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ShopOrderVO)) {
            return false;
        }
        ShopOrderVO other = (ShopOrderVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$orderStatus = getOrderStatus();
        Object other$orderStatus = other.getOrderStatus();
        if (this$orderStatus == null) {
            if (other$orderStatus != null) {
                return false;
            }
        } else if (!this$orderStatus.equals(other$orderStatus)) {
            return false;
        }
        Object this$skuNum = getSkuNum();
        Object other$skuNum = other.getSkuNum();
        if (this$skuNum == null) {
            if (other$skuNum != null) {
                return false;
            }
        } else if (!this$skuNum.equals(other$skuNum)) {
            return false;
        }
        Object this$freight = getFreight();
        Object other$freight = other.getFreight();
        if (this$freight == null) {
            if (other$freight != null) {
                return false;
            }
        } else if (!this$freight.equals(other$freight)) {
            return false;
        }
        Object this$buyerId = getBuyerId();
        Object other$buyerId = other.getBuyerId();
        if (this$buyerId == null) {
            if (other$buyerId != null) {
                return false;
            }
        } else if (!this$buyerId.equals(other$buyerId)) {
            return false;
        }
        Object this$addressId = getAddressId();
        Object other$addressId = other.getAddressId();
        if (this$addressId == null) {
            if (other$addressId != null) {
                return false;
            }
        } else if (!this$addressId.equals(other$addressId)) {
            return false;
        }
        Object this$orderId = getOrderId();
        Object other$orderId = other.getOrderId();
        if (this$orderId == null) {
            if (other$orderId != null) {
                return false;
            }
        } else if (!this$orderId.equals(other$orderId)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$skuTitle = getSkuTitle();
        Object other$skuTitle = other.getSkuTitle();
        if (this$skuTitle == null) {
            if (other$skuTitle != null) {
                return false;
            }
        } else if (!this$skuTitle.equals(other$skuTitle)) {
            return false;
        }
        Object this$skuPrice = getSkuPrice();
        Object other$skuPrice = other.getSkuPrice();
        if (this$skuPrice == null) {
            if (other$skuPrice != null) {
                return false;
            }
        } else if (!this$skuPrice.equals(other$skuPrice)) {
            return false;
        }
        if (!Arrays.deepEquals(getSkuSaleAttrValues(), other.getSkuSaleAttrValues())) {
            return false;
        }
        Object this$skuAmount = getSkuAmount();
        Object other$skuAmount = other.getSkuAmount();
        if (this$skuAmount == null) {
            if (other$skuAmount != null) {
                return false;
            }
        } else if (!this$skuAmount.equals(other$skuAmount)) {
            return false;
        }
        Object this$skuImage = getSkuImage();
        Object other$skuImage = other.getSkuImage();
        return this$skuImage == null ? other$skuImage == null : this$skuImage.equals(other$skuImage);
    }

    protected boolean canEqual(Object other) {
        return other instanceof ShopOrderVO;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $orderStatus = getOrderStatus();
        int result2 = (result * 59) + ($orderStatus == null ? 43 : $orderStatus.hashCode());
        Object $skuNum = getSkuNum();
        int result3 = (result2 * 59) + ($skuNum == null ? 43 : $skuNum.hashCode());
        Object $freight = getFreight();
        int result4 = (result3 * 59) + ($freight == null ? 43 : $freight.hashCode());
        Object $buyerId = getBuyerId();
        int result5 = (result4 * 59) + ($buyerId == null ? 43 : $buyerId.hashCode());
        Object $addressId = getAddressId();
        int result6 = (result5 * 59) + ($addressId == null ? 43 : $addressId.hashCode());
        Object $orderId = getOrderId();
        int result7 = (result6 * 59) + ($orderId == null ? 43 : $orderId.hashCode());
        Object $createTime = getCreateTime();
        int result8 = (result7 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $skuTitle = getSkuTitle();
        int result9 = (result8 * 59) + ($skuTitle == null ? 43 : $skuTitle.hashCode());
        Object $skuPrice = getSkuPrice();
        int result10 = (((result9 * 59) + ($skuPrice == null ? 43 : $skuPrice.hashCode())) * 59) + Arrays.deepHashCode(getSkuSaleAttrValues());
        Object $skuAmount = getSkuAmount();
        int result11 = (result10 * 59) + ($skuAmount == null ? 43 : $skuAmount.hashCode());
        Object $skuImage = getSkuImage();
        return (result11 * 59) + ($skuImage == null ? 43 : $skuImage.hashCode());
    }

//    @Override // java.lang.Object
//    public String toString() {
//        return "ShopOrderVO(id=" + getId() + ", orderId=" + getOrderId() + ", orderStatus=" + getOrderStatus() + ", createTime=" + getCreateTime() + ", skuTitle=" + getSkuTitle() + ", skuPrice=" + getSkuPrice() + ", skuSaleAttrValues=" + Arrays.deepToString(getSkuSaleAttrValues()) + ", skuNum=" + getSkuNum() + ", freight=" + getFreight() + ", skuAmount=" + getSkuAmount() + ", skuImage=" + getSkuImage() + ", buyerId=" + getBuyerId() + ", addressId=" + getAddressId() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public ShopOrderVO(Integer id, String orderId, Integer orderStatus, String createTime, String skuTitle, String skuPrice, String[] skuSaleAttrValues, Integer skuNum, Integer freight, BigDecimal skuAmount, String skuImage, Integer buyerId, Integer addressId) {
        this.id = id;
        this.orderId = orderId;
        this.orderStatus = orderStatus;
        this.createTime = createTime;
        this.skuTitle = skuTitle;
        this.skuPrice = skuPrice;
        this.skuSaleAttrValues = skuSaleAttrValues;
        this.skuNum = skuNum;
        this.freight = freight;
        this.skuAmount = skuAmount;
        this.skuImage = skuImage;
        this.buyerId = buyerId;
        this.addressId = addressId;
    }

    public ShopOrderVO() {
    }

    public Integer getId() {
        return this.id;
    }

    public String getOrderId() {
        return this.orderId;
    }

    public Integer getOrderStatus() {
        return this.orderStatus;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public String getSkuTitle() {
        return this.skuTitle;
    }

    public String getSkuPrice() {
        return this.skuPrice;
    }

    public String[] getSkuSaleAttrValues() {
        return this.skuSaleAttrValues;
    }

    public Integer getSkuNum() {
        return this.skuNum;
    }

    public Integer getFreight() {
        return this.freight;
    }

    public BigDecimal getSkuAmount() {
        return this.skuAmount;
    }

    public String getSkuImage() {
        return this.skuImage;
    }

    public Integer getBuyerId() {
        return this.buyerId;
    }

    public Integer getAddressId() {
        return this.addressId;
    }
}
